package mstatic;

public class Student {
    public String name;
    public int age;
    //public String university; //学校
    public static String university;
    /*
        static修饰的特点
            1.被类的所有对象共享
            2.可以通过类名调用，也可以通过对象名调用
                推荐使用类名调用
     */

    public void show(){
        System.out.println(name + "," + age + "," + university);
    }
}
